#ifndef __PLAYER_H__
#define __PLAYER_H__

#include "stdfx.h"

#define FRAME_COUNT 10

class Frame;
class Turn;
class PinScheme;

class Player : private boost::noncopyable
{
public:
    Player() {} // FOR TEST

    
    Player(const std::string& name);
    
    std::string getName() const;
    
    std::vector<std::shared_ptr<Frame>>::iterator getFirstOpenFrameIter();
    
    void makeTurn(const PinScheme& scheme);//(Turn& turn);
    
    bool isFrameDone() const;
    
    int getScores() const;
    void printScores() const;  //  for test

private:
    std::string _name;
    
    std::vector<std::shared_ptr<Frame>>  _frames;
    
};

#endif

